package com.findFish.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 机器鱼维护记录对象 robot_fish_maintenance
 * 
 * @author admin
 * @date 2025-03-31
 */
public class RobotFishMaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维护ID */
    private Long id;

    /** 机器鱼ID */
    @Excel(name = "机器鱼ID")
    private Long robotFishId;

    /** 维护日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维护日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceDate;

    /** 维护类型 */
    @Excel(name = "维护类型")
    private String maintenanceType;

    /** 执行人 */
    @Excel(name = "执行人")
    private String performedBy;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRobotFishId(Long robotFishId) 
    {
        this.robotFishId = robotFishId;
    }

    public Long getRobotFishId() 
    {
        return robotFishId;
    }

    public void setMaintenanceDate(Date maintenanceDate) 
    {
        this.maintenanceDate = maintenanceDate;
    }

    public Date getMaintenanceDate() 
    {
        return maintenanceDate;
    }

    public void setMaintenanceType(String maintenanceType) 
    {
        this.maintenanceType = maintenanceType;
    }

    public String getMaintenanceType() 
    {
        return maintenanceType;
    }

    public void setPerformedBy(String performedBy) 
    {
        this.performedBy = performedBy;
    }

    public String getPerformedBy() 
    {
        return performedBy;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("robotFishId", getRobotFishId())
            .append("maintenanceDate", getMaintenanceDate())
            .append("maintenanceType", getMaintenanceType())
            .append("performedBy", getPerformedBy())
            .append("notes", getNotes())
            .toString();
    }
}
